package com.wwj.core.wawa.entity;

import com.wwj.framework.entity.BaseIdEntity;

import java.util.Date;

/**
 * Created by Administrator on 2017/11/2.
 */
public class Player extends BaseIdEntity<Integer> {

    private String nickname;

    private String openId;

    private String headerIcon;

    private int playCount;

    private int success;

    private int failed;

    private Date registerTime;

    private Integer invitor;

    private String inviteCode;

    //微信相关的信息origin_type  openid  nickname sex  province city country headimgurl  unionid
    private String originType;

    private String sex;

    private String province;

    private String city;

    private String country;

    private String unionId;

    private int status;

    //进入某房间是，玩家是否在当前房间排队,0:否，1：是
    private int inRoomQueue;

    private PlayerItem playerItem;

    private Thread coinTimeOutThread;

    private int hasFirstRecharge;

    private Long coinTime;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public PlayerItem getPlayerItem() {
        return playerItem;
    }

    public void setPlayerItem(PlayerItem playerItem) {
        this.playerItem = playerItem;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }


    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getHeaderIcon() {
        return headerIcon;
    }

    public void setHeaderIcon(String headerIcon) {
        this.headerIcon = headerIcon;
    }

    public int getPlayCount() {
        return playCount;
    }

    public void setPlayCount(int playCount) {
        this.playCount = playCount;
    }

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public int getFailed() {
        return failed;
    }

    public void setFailed(int failed) {
        this.failed = failed;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getInvitor() {
        return invitor;
    }

    public void setInvitor(Integer invitor) {
        this.invitor = invitor;
    }

    public String getInviteCode() {
        return inviteCode;
    }

    public void setInviteCode(String inviteCode) {
        this.inviteCode = inviteCode;
    }

    public String getOriginType() {
        return originType;
    }

    public void setOriginType(String originType) {
        this.originType = originType;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public Thread getCoinTimeOutThread() {
        return coinTimeOutThread;
    }

    public void setCoinTimeOutThread(Thread coinTimeOutThread) {
        this.coinTimeOutThread = coinTimeOutThread;
    }

    public int getInRoomQueue() {
        return inRoomQueue;
    }

    public void setInRoomQueue(int inRoomQueue) {
        this.inRoomQueue = inRoomQueue;
    }

    public int getHasFirstRecharge() {
        return hasFirstRecharge;
    }

    public void setHasFirstRecharge(int hasFirstRecharge) {
        this.hasFirstRecharge = hasFirstRecharge;
    }

    public Long getCoinTime() {
        return coinTime;
    }

    public void setCoinTime(Long coinTime) {
        this.coinTime = coinTime;
    }
}
